package cn.xuanxuanyuhua.crm.service;



import cn.xuanxuanyuhua.crm.domain.SystemDictionary;
import cn.xuanxuanyuhua.crm.domain.SystemDictionaryItem;
import cn.xuanxuanyuhua.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISystemDictionaryService {
    void saveOrUpdate(SystemDictionary entity);

    void saveOrUpdate(SystemDictionaryItem entity);

    void deleteSystemDictionary(Long id);

    void deleteSystemDictionaryItem(Long id);

    SystemDictionary get(Long id);
    List<SystemDictionary> list();

    PageInfo querySystemDictionary(QueryObject qo);

    PageInfo querySystemDictionaryItem(QueryObject qo);


    List<SystemDictionaryItem> selectAllBySn(String job);
}

